home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 687 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Variable paramater list macros
  5. Date: 08 Jan 1996 15:57:18 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Jan8085718@qcd.lanl.gov>
  8. References: <4crc3v$hm8@barnacle.iol.ie>
  9. NNTP-Posting-Host: qcd.lanl.gov
  10. Mime-Version: 1.0
  11. Content-Type: text
  12. In-reply-to: derekh@iol.ie's message of Mon, 08 Jan 1996 15:10:27 GMT
  13.  
  14. --text follows this line--
  15. In article <4crc3v$hm8@barnacle.iol.ie> derekh@iol.ie (Derek Hardiman)
  16. writes: 
  17. <snip>
  18.    I want to replace a variable argument list function (which I use for
  19.    debugging ) with a macro that does nothing.
  20.  
  21.    Unfortunately I can't remember how to write a macro that takes a
  22.    variable number of paramaters ! Can you ?
  23.  
  24. The question has no answer within the C language. Individual compilers
  25. may provide a way. Please ask in a system/compiler specific group.
  26.  
  27. The FAQ has a little to say about this.
  28.  
  29. Cheers
  30. Tanmoy
  31. --
  32. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  33. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  34. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  35. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  36. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  37. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  38.